package com.nft.service.school.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nft.base.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="UserBookReq对象", description="用户图书入参")
@Accessors(chain = true)
public class UserBookReq extends BaseQuery implements Serializable {
    @ApiModelProperty(value = "图书信息id")
    private Long taskId;

    @ApiModelProperty(value = "图书信息标题")
    private String title;

    @ApiModelProperty(value = "收藏用户id")
    private Long userId;

    @ApiModelProperty(value = "收藏日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
}
